#ifndef _NODE
#define _NODE

#include <iostream>
#include "Database.h"
#include "ParamManager.h"
#include "common.h"
 
#if defined DLL_EXPORT
#define DECLDIR __declspec(dllexport)
#else
#define DECLDIR __declspec(dllimport)
#endif
 
#ifdef __cplusplus
extern "C" {
#endif	/*__cplusplus*/


// default global variables within dll
extern ParamManager *supported;


// called after the module is loaded, useful to load global variables; Returns supported actions as a ParamManager*
DECLDIR ParamManager* load(void);
// called just before the module is unloaded, useful to unload global variables
DECLDIR void unload(void);

// launch a thread
DECLDIR void start(HANDLE /*mutex*/, ParamManager& /*detail*/, char* /*index*/);

 
#ifdef __cplusplus
}
#endif	/* __cplusplus */

#endif	/* _NODE */